package com.cn.kabalifeuser.ui.service.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/16.
 * function:
 */
public class BusinessCommentListBean {


    /**
     * code : 200
     * result : {"data":[{"id":2,"uid":1,"business_id":5,"content":"wdsa","fraction":"5.0","type":1,"service_type":3,"img":["http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png"],"created_at":"2020-08-27 14:41:11","updated_at":"2020-08-27 15:13:03","user":{"id":1,"nickname":"小菜刀","head":"http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png"},"category":"客厅"},{"id":1,"uid":1,"business_id":5,"content":"ertsfgsdfs","fraction":"4.0","type":1,"service_type":4,"img":["http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png"],"created_at":"2020-08-27 14:32:51","updated_at":"2020-08-27 15:13:02","user":{"id":1,"nickname":"小菜刀","head":"http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png"},"category":"餐厅"}],"count":2}
     * msg : OK
     */

    private int code;
    private ResultBean result;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * data : [{"id":2,"uid":1,"business_id":5,"content":"wdsa","fraction":"5.0","type":1,"service_type":3,"img":["http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png"],"created_at":"2020-08-27 14:41:11","updated_at":"2020-08-27 15:13:03","user":{"id":1,"nickname":"小菜刀","head":"http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png"},"category":"客厅"},{"id":1,"uid":1,"business_id":5,"content":"ertsfgsdfs","fraction":"4.0","type":1,"service_type":4,"img":["http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png"],"created_at":"2020-08-27 14:32:51","updated_at":"2020-08-27 15:13:02","user":{"id":1,"nickname":"小菜刀","head":"http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png"},"category":"餐厅"}]
         * count : 2
         */

        private int count;
        private List<DataBean> data;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 2
             * uid : 1
             * business_id : 5
             * content : wdsa
             * fraction : 5.0
             * type : 1
             * service_type : 3
             * img : ["http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png"]
             * created_at : 2020-08-27 14:41:11
             * updated_at : 2020-08-27 15:13:03
             * user : {"id":1,"nickname":"小菜刀","head":"http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png"}
             * category : 客厅
             */

            private int id;
            private int uid;
            private int business_id;
            private String content;
            private String fraction;
            private int type;
            private int service_type;
            private String created_at;
            private String updated_at;
            private UserBean user;
            private String category;
            private List<String> img;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getBusiness_id() {
                return business_id;
            }

            public void setBusiness_id(int business_id) {
                this.business_id = business_id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getFraction() {
                return fraction;
            }

            public void setFraction(String fraction) {
                this.fraction = fraction;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getService_type() {
                return service_type;
            }

            public void setService_type(int service_type) {
                this.service_type = service_type;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public List<String> getImg() {
                return img;
            }

            public void setImg(List<String> img) {
                this.img = img;
            }

            public static class UserBean {
                /**
                 * id : 1
                 * nickname : 小菜刀
                 * head : http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png
                 */

                private int id;
                private String nickname;
                private String head;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getHead() {
                    return head;
                }

                public void setHead(String head) {
                    this.head = head;
                }
            }
        }
    }
}
